libxl: cdrom eject and insert: write to /libxl
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 29 Apr 2016 18:15:13 +0000 (19:15 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 2 Jun 2016 14:53:29 +0000 (15:53 +0100)
commit3a5fec03793e0aa389f223d9a21d5a36a26f8b5f
tree0933c59d48c328984c8b99660aa539be272f5457
parent78feb516f3387960385cb3e9702032359dafaf3c
libxl: cdrom eject and insert: write to /libxl

Copy the new type and params values to /libxl, so that the information
in /libxl is kept up to date.

This is needed so that we can return this trustworthy information,
rather than trusting the backend-writeable parts of xenstore.

This is part of XSA-178.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c